﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports roncliProductions.LibWowArmory.Enums

Namespace roncliProductions.LibWowArmory.Realms

    ''' <summary>
    ''' A class containing information about a realm's status.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Realm

        ''' <summary>
        ''' The type of realm.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Type As RealmType

        ''' <summary>
        ''' A boolean indicating if there is a queue to get into the realm.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Queue As Boolean

        ''' <summary>
        ''' A boolean indicating if the realm is online or not.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Status As Boolean

        ''' <summary>
        ''' The population of the realm.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Population As String

        ''' <summary>
        ''' The name of the realm.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Name As String

        ''' <summary>
        ''' Blizzard's internal name for the realm.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Slug As String

        Protected Friend Sub New(rtType As RealmType, blnQueue As Boolean, blnStatus As Boolean, strPopulation As String, strName As String, strSlug As String)
            Type = rtType
            Queue = blnQueue
            Status = blnStatus
            Population = strPopulation
            Name = strName
            Slug = strSlug
        End Sub

    End Class

End Namespace
